public class ifdemo2 {
    public static void main(String[] args) {
        boolean flag = true;
        if(flag==true){
            System.out.println("flag的值为true!");
        }
    }
}
